package our.pack;


import java.io.Serializable;
import java.sql.Date;
import java.util.GregorianCalendar;


public class Track implements Serializable {
	
	private long id;
	private String trackName;
	private GregorianCalendar date;
	private String dateString;
	private int distance;
	
	public int getDistance(){
		return distance;
	}
	
	public void setDistance( int distance ) {
		this.distance = distance;
	}

	public String getDateString() {
		return dateString;
	}
	
	public void setDateString(String dateString) {
		this.dateString = dateString;
	}
	
	public GregorianCalendar getDate() {
		return date;
	}
	

	public void setDate(GregorianCalendar date) {
		this.date = date;
	}

	public long getID(){
		return id;
	}
	
//	public void addCoordinates(Coordinates coordinate){
//		trackpunten.add(coordinate);
//	}
	
	public void setID(long id){
		this.id = id;
	}
	
	public String getTrackName(){
		return trackName;
	}
	
	public void setTrackName(String trackName){
		this.trackName = trackName;
	}
	
	@Override
	public String toString(){
		return trackName;
	}
}
